package com.knowledgegraph.zhongyao.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.knowledgegraph.common.annotation.Excel;
import com.knowledgegraph.common.core.domain.BaseEntity;

/**
 * 方剂维护对象 prescription
 * 
 * @author ruoyi
 * @date 2023-07-03
 */
public class Prescription extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 药剂key */
    @Excel(name = "药剂key")
    private String prescriptionKey;

    @Excel(name = "药剂类型")
    private String prescriptionTypeName;
    /** 药剂id */
    @Excel(name = "药剂id")
    private Long prescriptionId;
    @Excel(name = "制法及用法")
    private String zhiFa;
    /** 药剂名称 */
    @Excel(name = "药剂名称")
    private String prescriptionName;

    /** 药剂组成 */
    @Excel(name = "药剂组成")
    private String prescriptionContent;

    /** 出自 */
    @Excel(name = "出自")
    private String from;

    /** 药剂类型 */
    @Excel(name = "药剂类型")
    private String prescriptionTypeKey;

    /** 功能 */
    @Excel(name = "功能")
    private String function;

    /** 图片 */
    @Excel(name = "图片")
    private String picUrl;



    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String deleteFlag;

    public String getPrescriptionTypeName() {
        return prescriptionTypeName;
    }

    public void setPrescriptionTypeName(String prescriptionTypeName) {
        this.prescriptionTypeName = prescriptionTypeName;
    }

    public String getZhiFa() {
        return zhiFa;
    }

    public void setZhiFa(String zhiFa) {
        this.zhiFa = zhiFa;
    }

    public void setPrescriptionKey(String prescriptionKey)
    {
        this.prescriptionKey = prescriptionKey;
    }

    public String getPrescriptionKey() 
    {
        return prescriptionKey;
    }
    public void setPrescriptionId(Long prescriptionId) 
    {
        this.prescriptionId = prescriptionId;
    }

    public Long getPrescriptionId() 
    {
        return prescriptionId;
    }
    public void setPrescriptionName(String prescriptionName) 
    {
        this.prescriptionName = prescriptionName;
    }

    public String getPrescriptionName() 
    {
        return prescriptionName;
    }
    public void setPrescriptionContent(String prescriptionContent) 
    {
        this.prescriptionContent = prescriptionContent;
    }

    public String getPrescriptionContent() 
    {
        return prescriptionContent;
    }
    public void setFrom(String from) 
    {
        this.from = from;
    }

    public String getFrom() 
    {
        return from;
    }
    public void setPrescriptionTypeKey(String prescriptionTypeKey) 
    {
        this.prescriptionTypeKey = prescriptionTypeKey;
    }

    public String getPrescriptionTypeKey() 
    {
        return prescriptionTypeKey;
    }
    public void setFunction(String function) 
    {
        this.function = function;
    }

    public String getFunction() 
    {
        return function;
    }
    public void setPicUrl(String picUrl) 
    {
        this.picUrl = picUrl;
    }

    public String getPicUrl() 
    {
        return picUrl;
    }
    public void setDeleteFlag(String deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public String getDeleteFlag() 
    {
        return deleteFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("prescriptionKey", getPrescriptionKey())
            .append("prescriptionId", getPrescriptionId())
            .append("prescriptionName", getPrescriptionName())
            .append("prescriptionContent", getPrescriptionContent())
            .append("from", getFrom())
            .append("prescriptionTypeKey", getPrescriptionTypeKey())
            .append("function", getFunction())
            .append("picUrl", getPicUrl())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("deleteFlag", getDeleteFlag())
                .append("zhiFa", getZhiFa())
            .toString();
    }
}
